/****************************************************
          File Name:12-1.h
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Wed 24 Dec 2014 02:59:51 PM CST
*****************************************************/

#ifndef COW_H_
#define COW_H_
#include<iostream>

class Cow
{
    char name[20];
    char *hobby;
    double weight;

    public:
    Cow();
    Cow(const char *nm, const char *ho, double wt);
    Cow(const Cow &c);
    ~Cow();
    Cow & operator=(const Cow & c);
    void ShowCow() const;
};

#endif
